Paymill\Services\ResponseHandler A

Total Complexity 68
Dependencies 17
Dependents 1
Total lines 617
Lines of code 339
Logical lines of code 255
Comment lines 117
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
_convertResponseToModel()
B
43 17 51
convertErrorToModel()
A
46 14 38
_createTransaction()
S
45 4 41
_createPayment()
S
50 4 27
validateResponse()
S
62 5 11
_handleRecursive()
S
60 4 13
_createAddress()
S
55 3 21
_createPreauthorization()
S
56 2 16
_createRefund()
S
58 2 14
_createWebhook()
S
60 2 12
_createSubscription()
S
52 1 23
getErrorMessageFromArray()
S
68 2 8
arrayToObject()
S
77 2 3
_createOffer()
S
59 1 14
_createChecksum()
S
61 1 12
_createClient()
S
61 1 12
_createItem()
S
64 1 10
_createFraud()
S
65 1 9
convertResponse()
S
74 1 4